<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		
		<script>
		
		    var name = "张强";
			var height = 160.5;
			var sex = "女";
			var age = 18;
			var hasgf = true;
			var gfname ="范冰冰";
			
			alert(name);
			alert(height);
			alert(sex);
			alert(age);
			alert(hasgf);
			alert(gfname);
			
			hasgf = false;
			gfname = null;
			
			alert(typeof(name))
			
		
			// 代码 方法内
			
			// 代码 方法外  --》 可以直接执行
		
		</script>
		
		
	</body>
</html>
